<template>
  <div id="app">
    <!-- 侧边栏 -->
    <LeftNav class="left-nav"/>
    <router-view class="mian"/>
  </div>
</template>

<script>
import LeftNav from "@/components/ComLeftNav";
export default {
  name: "App",
  components: {
    LeftNav
  }
};
</script>

<style>
 @import '../static/font/iconfont.css';
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
.left-nav {
  height: 100%;
  float: left;
  width: 5em;
}
.mian {
  float: left;
  width: calc(100% - 5em);
  background-color: #eff2f7;
  height: 100%;
  overflow: auto;
}
</style>
